﻿// EXP0106.cpp : 
//解释下面程序片段是否合法。

//std::cout << "The sum of " << v1;
//<< " and " << v2;
//<< " is " << v1 + v2 << std::endl;
//如果程序是合法的，它的输出是什么？如果程序不合法，原因何在？应该如何修正？


//不合法，无输出实例

#include <iostream>
using namespace std;
int main()
{
    cout << "输入两个数" << endl;
    int v1, v2;
    cin >> v1 >> v2;
    cout<< "The sum of " << v1 << " and " << v2 << " is " << v1 + v2 << endl;
    return 0;
}


